package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件信息表
 * </p>
 *
 * @author LEO
 * @since 2019-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_file_info")
@ApiModel(value="FileInfo对象", description="文件信息表")
public class FileInfo extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "UUID")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "机构编码")
    @TableField("branch_code")
    private String branchCode;

    @ApiModelProperty(value = "关联的数据Code")
    @TableField("link_code")
    private String linkCode;

    @ApiModelProperty(value = "文件类型")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "文件名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "文件地址")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "图片格式")
    @TableField("format")
    private String format;

    @ApiModelProperty(value = "备注信息")
    @TableField("remark")
    private String remark;


}
